package com.gary.service.impl;

import com.gary.service.IOrderService;
import com.gary.service.IUserService;

/**
 * @author pengrui
 * @date 2020/12/14 - 11:58
 */
public class OrderServiceImpl implements IOrderService {

    IUserService userService;

    public void setUserService(IUserService userService) {
        this.userService = userService;
    }

    public IUserService getUserService() {
        return userService;
    }

    @Override
    public String recodeUserInfo(String usernmae) {
        System.out.println("recodeUserInfo---"+usernmae);
        String userInfo = userService.getUserInfo(usernmae);
        System.out.println("OrderImpl---"+userInfo);
        return userInfo;
    }
}
